package com.company.sendemo.basics.alEnumException.exception;

public class exception2 {
    public static String exception() throws Exception {

        try {
            for (int i = 0; i < 10; i++) {
                if (i == 6) {
//                   throw new Exception("exception2 报错");
                }
            }
            int ss = 10 / 0;
//            List<Map<String, Object>> sapinterface_send_log = new List<Map<String, Object>>;
//            new List<Map>
//            Map<String, Object> stringObjectMap = sapinterface_send_log.get(0);
            return "你好";
        } catch (RuntimeException e) {
            e.printStackTrace();
            System.out.println("没有找到方法");
            return "你好RuntimeException";
        }
//        System.out.println("你好");
    }


    public static void main(String[] args) {

        Object a = new Object();
        String b = new String();
        if(a instanceof String){
            System.out.println("##########");
        }else if (b instanceof Object){
            System.out.println("%%%%%%%%%");
        }
        System.out.println("a".equals("a"));
    }
}
